package com.njts.bean;

public class Course { //课程
    private int id;//课程序号
    private String name; //课程名称  科目名称+老师姓名
    private int teacherId; //一个课程只有一个老师,两个老师不能同时上课
    //$
    private String teacherName; //老师姓名
    private int subjectId; //一个课程只有一个科目
    private int classId; //一个课程对应一个班级
    //$
    private String className; //班级名称
    //$
    private String subjectName; //科目名称
    private String startTime; //开始时间
    private String endTime; //结束时间

    private String location; //位置


    // 可以有课堂总体表现,课堂实到人数,课堂未到人数,课堂请假人数等。 就不那么详细了

    @Override
    public String toString() {
        return "Course{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", teacherId=" + teacherId +
                ", teacherName='" + teacherName + '\'' +
                ", subjectId=" + subjectId +
                ", classId=" + classId +
                ", className='" + className + '\'' +
                ", subjectName='" + subjectName + '\'' +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", location='" + location + '\'' +
                '}';
    }
    public int getClassId() {
        return classId;
    }

    public void setClassId(int classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(int teacherId) {
        this.teacherId = teacherId;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public int getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(int subjectId) {
        this.subjectId = subjectId;
    }

    public String getSubjectName() {
        return subjectName;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
}
